package com.blue.ocean;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * curl --location 'http://localhost:8080/async/execute2' \
 * -  "id":"1",
 *     "name":"aaa"
 * }'-header 'Content-Type: application/json' \
 *  * --data '{
 *  *   
 * 请求案例
 */
@SpringBootApplication
@EnableAsync
@EnableScheduling
public class EasySpringApplication {
    public static void main(String[] args) {
        SpringApplication.run(EasySpringApplication.class,args);
    }
}
